<form>
    <table id="dataTable">
        <thead>
            <tr>
                <th>金额变化</th>
                <th>当前金额</th>
                <th>日期</th>
                <th>付款方式</th>
            </tr>
        </thead>
        <tbody>
        <?php foreach($r['money_info'] as $v){?>
            <tr>
                <td><?php echo $v['money']?></td>
                <td><?php echo $v['total']?></td>
                <td><?php echo $v['create_time']?></td>
                <td><?php echo $v['pay_type']?></td>

            </tr>
        <?php }?>

        </tbody>
    </table>
</form>